<!DOCTYPE html>
<html lang="en" xmlns:th="http://www.thymeleaf.org" >
<head>
    <meta charset="UTF-8">
    <title>Title</title>
  <link href="static/css/style.css" type="text/css" rel="stylesheet">

</head>
<body>
<header th:fragment="header">
<div>
  <table cellspacing="0" cellpadding="0" width="98%" align="center">
    <tbody>
    <tr>
      <td width="60%"><img style="BORDER-TOP-WIDTH: 0px; BORDER-LEFT-WIDTH: 0px; BORDER-BOTTOM-WIDTH: 0px; BORDER-RIGHT-WIDTH: 0px" src="static/images/logo1.png"></td>
      <td width="40%"></td>
      <td width="0%"></td>
    </tr>
    </tbody>
  </table>
  <!--上面是head-->
  <!--下面是内容页-->
  <table cellspacing="0" cellpadding="0" width="98%" align="center">
    <tbody>
    <tr>
      <td colspan="2">
        <div class="guide" id="Div1">

          <div th:if="${application.loginuser}!=null">
            » 欢迎 <span th:text="${application.loginuser.name}">
          </span>登录 &nbsp;<span class="smalltxt">[<a th:href="@{/goout}">退出登陆</a>]</span>
          </div>

          <div th:if="${application.loginuser==null}">
          » 您尚未登录
          <a th:href="toRegister"><b>注册</b></a>
          </div>
          <a th:href="@{/index}">首页</a>
          |忘记密码 | 社区服务 | 帮助 | <a th:href="@{/admin/tologin}">管理员</a>


        </div>
      </td>
    </tr>
    </tbody>
  </table>
</div>
<table class="t" cellspacing="0" cellpadding="0" width="98%" align="center">
  <tbody>
  <tr class="tr2">
    <td width="100%" colspan="2"><marquee onmouseover="if(document.all!=null){this.stop()}" onmouseout="if(document.all!=null){this.start()}" scrollamount="200" scrolldelay="1"> HuihuaBBS即将推出，各位水友赶快鼓掌！
      &nbsp; &nbsp; &nbsp; &nbsp;各位水友要经常光顾技术版块，不要总是灌水！ &nbsp; &nbsp;
      &nbsp; &nbsp; 好好学习，天天向上！ &nbsp; &nbsp; &nbsp; &nbsp;
      老婆，跟牛魔王出来看上帝！ &nbsp; &nbsp; &nbsp; &nbsp;招聘版主，请火速报名 &nbsp; &nbsp;
      &nbsp; &nbsp; </marquee></td>
  </tr>
  <tr class="tr3">
    <td width="40%">
      <!--登陆框 -->

      <div th:if="${application.loginuser==null}">
        <form th:action="@{/login}" method="post">

          <div>
            <input class="input" style="WIDTH: 30%" name="name" type="text">
            <input class="input" style="WIDTH: 30%" type="password" name="password">
            <input class="btn1" style="WIDTH: 20%" type="submit" value="登录">
            <span th:text="${application.msg}" style="color: red"></span>
          </div>

        </form>
      </div>

    </td>
    <!--论坛主题等简介-->
    <td align="right" width="60%">
      <table id="ctl00_ContentPlaceHolder1_loginControl1_DataList1" style="BORDER-COLLAPSE: collapse" cellspacing="0" border="0">
        <tbody>
        <tr>
          <td>共 <span style="COLOR: #cc0000" th:text="${application.titlecount}"></span>
            篇主题 | <span style="COLOR: #cc0000" th:text="${application.replycount}"></span> 篇回帖 <img style="BORDER-TOP-WIDTH: 0px; BORDER-LEFT-WIDTH: 0px; BORDER-BOTTOM-WIDTH: 0px; BORDER-RIGHT-WIDTH: 0px" src="static/images/frame_on.gif"> <br> <span style="COLOR: #cc0000" th:text="${application.usercount}"></span> 位会员

          </td>
        </tr>
        </tbody>
      </table>
    </td>
    <!--论坛主题等简介-->
  </tr>
  </tbody>
</table>
</header>
</body>
</html>